package com.jy.adscm.zltx.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author zyl
 * @Date 2018/11/5 -14:59
 */
public class QsFileVersion {
    private Integer  fileId;
    private  String versionCode;
    private String  fileCode;
    private String issuer;
    private Date issueTime;
    private String versionDesc;
    private List<QsFileContent> qsFileContents;

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    public String getVersionDesc() {
        return versionDesc;
    }

    public void setVersionDesc(String versionDesc) {
        this.versionDesc = versionDesc;
    }

    public String getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(String versionCode) {
        this.versionCode = versionCode;
    }

    public String getFileCode() {
        return fileCode;
    }

    public void setFileCode(String fileCode) {
        this.fileCode = fileCode;
    }

    public String getIssuer() {
        return issuer;
    }

    public void setIssuer(String issuer) {
        this.issuer = issuer;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getIssueTime() {
        return issueTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setIssueTime(Date issueTime) {
        this.issueTime = issueTime;
    }

    public List<QsFileContent> getQsFileContents() {
        return qsFileContents;
    }

    public void setQsFileContents(List<QsFileContent> qsFileContents) {
        this.qsFileContents = qsFileContents;
    }
}
